package com.clms.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clms.system.pojo.entitry.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.*;

/**
 * @program: clms-third
 * @description:
 * @author: 大鱼
 * @create: 2021-07-19 18:37
 **/
@Mapper
public interface RoleMapper extends BaseMapper<SysRole> {
    List<SysRole> slelectbyid(Integer userid);

    int insertrole(List<Integer> role,Integer userId);

    void deleteByuserId(Integer userId);

    void updateRoleStatus(Integer roleId, Integer status);
}
